package com.woniuxy.microgoldservice.service;

import com.woniuxy.bean.ResultBean;
import com.woniuxy.microgoldservice.bean.*;

import java.util.List;

/**
 * @author hongbin
 * @date 2021-04-07 14:08
 * Description：黄金产品
 */

public interface IGoldAccumulateService {
    List<GoldAccumulateInfo> selectAll(String name);

    int insert(GoldAccumulateInfo goldAccumulateInfo);

    int update(GoldAccumulateInfo goldAccumulateInfo);

    int delete(Long[] ids);

    Long selectIdByType(String type);

    List<GoldDataTypeInfo> getAllTypeName();


    int goodsShelves(int id, int accountState);

    List<RiskGrade> getRiskGrade();

    List<GoldPAITpye> getGoldAPITpyes();

    GoldAccumulateInfo selectOne(Long id);

    List<GoldAccumulateInfo> selectDeleteData(String name);

    int recoverData(Long id);

    int completelyDelete(Long[] id);

    ResultBean selectProduct();


    String selectDataTypeName();

    int addSupportBank(BankInfo bankInfo);
}

